package be.gnx.logging4eclipse.perspective.model.logging;

import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.Date;

public interface Event extends Serializable {

  void serialize(OutputStream outputStream);

  //void deserialize(InputStream inputStream);

  Class getEventClass();

  Object getEventObject();

  EventLevel getEventLevel();

  Date getTimeStamp();

  Object getMessage();

  Location getLocation();

  StackTrace getStackTrace();

  String getThreadName();

  String getLoggerName();

  String getNDC();

}
